#ifndef SWP_REPORT_DOCUMENT_H
#define SWP_REPORT_DOCUMENT_H

#include "swpabstractlinkeddocument.h"

namespace swp
{
class ReportData;

class SwpReportDocument : public SwpAbstractLinkedDocument
{
    Q_OBJECT

public:
    SwpReportDocument(const QString& name,
        const core::MimeType& mimeType,
        const QSharedPointer<core::IContainerDocument>& container,
        bool isFuture);
    ~SwpReportDocument();

    // ILinkedDocument
    QList<core::MimeType> linksTo() const;

protected:
    void linksUpdated(bool projectIsOpening);

private slots:
    void handleValidChange(bool valid);

private:
    ReportData* m_reportData;
};

} // namespace swp

#endif
